Fault Localization Method Based on Enhanced GA- BP Neural Network
نویسندگان
چکیده
In the process of software development and maintenance, software debugging is the most complicated and expensive part. In recent years, automated software fault localization technology has attracted many scholars’ attention, various approaches have been proposed. In this paper, a technique named EGA-BPN is proposed which can provide suspicious locations for fault localization automatically without requiring any prior information of program structure or semantics. EGA-BPN is a software fault localization method based on enhanced Genetic Algorithm-Back Propagation neural network. Firstly, through processing running traces of the program, coverage information of test cases is converted to the training samples of neural network; secondly, the initial weights and thresholds of the neural network are computed by GA, the training data are substituted in neural network in training orderly, and then use orthogonal experimental design helping to adjust the parameters of the neural network; finally, test matrix is calculated by the neural network to count the suspiciousness of each statement, and the fault is located at the statements with higher suspicious value. Through comparative experiments between the proposed method, GA-BPN and BPN, the experiment results show that the enhanced GA-BP neural network-based fault localization technology has certain validity.
منابع مشابه
Predicting air pollution in Tehran: Genetic algorithm and back propagation neural network
Suspended particles have deleterious effects on human health and one of the reasons why Tehran is effected is its geographically location of air pollution. One of the most important ways to reduce air pollution is to predict the concentration of pollutants. This paper proposed a hybrid method to predict the air pollution in Tehran based on particulate matter less than 10 microns (PM10), and the...
متن کاملImproved Wavelet Neural Network Based on Hybrid Genetic Algorithm Applicationin on Fault Diagnosis of Railway Rolling Bearing
The method of improved wavelet transform neural network based on hybrid GA(genetic algorithm) is presented to diagnose rolling bearings faults in this paper. Genetic Artificial Neural Networks(GA-ANN) overcomes BP neural network’s fault of slow convergence, long hours of training, and falling into the local minimum point. And First, the signal is processed through the wavelet deoising, Then, th...
متن کاملAccord Ignition Diagnosis Based on Improved GA-BP
BP neural network as a kind of intelligent method is widely used in fault diagnosis, due to the single BP neural network’s error is big, GA algorithm is often used in optimizing BP neural network, but the standard GA algorithm’s searching efficiency is low and it is easy to fall into local convergence. According to the characters of Accord car ignition diagnosis and BP neural network, this arti...
متن کاملBp Neural Network-Based Effective Fault Localization
In program debugging, fault localization identifies the exact locations of program faults. Finding these faults using an ad-hoc approach or based only on programmers’ intuitive guesswork can be very time consuming. A better way is to use a well-justified method, supported by case studies for its effectiveness, to automatically identify and prioritize suspicious code for an examination of possib...
متن کاملEstimation of groundwater level using a hybrid genetic algorithm-neural network
In this paper, we present an application of evolved neural networks using a real coded genetic algorithm for simulations of monthly groundwater levels in a coastal aquifer located in the Shabestar Plain, Iran. After initializing the model with groundwater elevations observed at a given time, the developed hybrid genetic algorithm-back propagation (GA-BP) should be able to reproduce groundwater ...
متن کامل